//
//  FMUtils.m
//  WeEsion
//
//  Created by reylen on 15/12/21.
//  Copyright © 2015年 fdauto. All rights reserved.
//

#import "FMUtils.h"

@implementation FMUtils

+ (BOOL) isTxt:(NSString *) ext {
    NSArray* arr = @[@"txt",@"log",@"plist",@"crash"];
    if (ext && [arr containsObject:ext]) {
        return YES;
    }
    
    return NO;
}
+ (BOOL) isImage:(NSString *) ext {
    NSArray* arr = @[@"jpg",@"jpeg",@"png",@"gif"];
    if (ext && [arr containsObject:ext]) {
        return YES;
    }
    
    return NO;
}

@end
